/* <CustomRadioButton /> */
@import './skiff-vars.css';

.skiff-custom-radio-button {
  cursor: pointer;
  display: block;
  font-family: var(--skiff-font-family);
  font-size: var(--skiff-font-size);
  line-height: 25px;
  margin: 0 12px 12px 0;
  padding: 0 0 0 36px;
  position: relative;
  user-select: none;
}

.skiff-custom-radio-button-input {
  height: 1px;
  left: 0;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  top: 0;
  width: 1px;
}

.skiff-custom-radio-button.inline {
  display: inline-block;
  margin: 0 12px 0 0;
}

.skiff-custom-radio-button-icon {
  background: #eee;
  border-radius: 50%;
  height: 25px;
  left: 0;
  position: absolute;
  top: 0;
  width: 25px;
}

.skiff-custom-radio-button-input:focus + .skiff-custom-radio-button-icon,
.skiff-custom-radio-button:hover .skiff-custom-radio-button-icon {
  background: #ccc;
}

.skiff-custom-radio-button.checked .skiff-custom-radio-button-icon {
  background: #3981e7;
}

.skiff-custom-radio-button.checked .skiff-custom-radio-button-icon::after {
  background: #fff;
  border-radius: 50%;
  content: '';
  height: 8px;
  left: 9px;
  top: 9px;
  width: 8px;
  position: absolute;
}

.skiff-custom-radio-button.disabled,
.skiff-custom-radio-button.disabled:hover {
  color: #dedede;
  cursor: unset;
  pointer-events: none;
}

.skiff-custom-radio-button-label {
  display: inline-block;
  vertical-align: middle;
  color: var(--text-secondary);
}
